package com.example.lin.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Administrator
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ErrorResponse {
    /**
     * 状态码
     */
    private int status;

    /**
     * 时间戳
     */
    private Date timestamp;

    /**
     * 错误信息
     */
    private String message;

    /**
     * 请求路径
     */
    private String path;
}
